GtkSettings: Consider default settings for font hinting and antialias
authorMatias De lellis <mati86dl@gmail.com>
Wed, 3 Dec 2014 00:09:38 +0000 (21:09 -0300)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Jan 2015 23:29:53 +0000 (18:29 -0500)
commit7ff3ef3e68350773548beae93f4b29f33fa88600
tree84939158bfdce8936619adff1706b59547ccbaa9
parenta1f8ffce4eb5cc023f810b9fe0e1e6749283ca65
GtkSettings: Consider default settings for font hinting and antialias

Arrange things so that gtk-xdg-hinting==-1 and gtk-xfg-antialias==-1
end up as CAIRO_HINT_STYLE_DEFAULT and CAIRO_ANTIALIAS_DEFAULT in the
cairo font options.

This will not change anything on Linux desktops where xsettings will
always provide values different from -1. But on other platforms, we
can benefit from getting the platform-specific defaults in cairo.

Based on the first patch in:
https://bugzilla.gnome.org/show_bug.cgi?id=735316
gtk/gtksettings.c